package com.xiaoxi.open.design.creation.factorymethodpattern.service.waer.product;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @Author xiaoxi
 * @ProjectName creation_pattern
 * @PackageName com.xiaoxi.open.design.creation.factorymethodpattern.service.waer
 * @ClassName TrousersProduct
 * @Description TODO
 * @Date 2024/5/15 11:47
 * @Version 1.0
 */
@Service
@Slf4j
@AllArgsConstructor
@NoArgsConstructor
public class TrousersProduct implements WearProduct {

    private String name;

    @Override
    public void show() {
        System.out.println("这是一个下装：" + name);
    }
}
